import axios from '@/utils/request'

//挂号管理-获取挂号列表
export const getRegisterListReq = (params) => axios({
    url:'/register/list',
    method:'get',
    params
}) 

//根据挂号单id获取挂号单详情
export const getRegisterByIdReq = (params) => axios({
    url:'/register/getbyid',
    method:'get',
    params
})

//删除挂号单
export const delRegisterReq = (params) => axios({
    url:'/register/del',
    method:'get',
    params
})

//批量删除挂号单
export const batchdelRegisterReq = (data) => axios({
    url:'/register/batchdel',
    method:'post',
    data
})

//多条件复合搜索查询挂号订单
export const searchRegisterReq = (params) => axios({
    url:'/register/search',
    method:'get',
    params
})